<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<% 
String callback = request.getParameter("callback");
String jsonData = "{\"aios\":{\"error\":{\"code\":403,\"msg\":\"Invalid Authentication\"}}}";
response.setCharacterEncoding("UTF-8");
String jsonp;

if (callback != null) {
    // Equivalent to: <@page contentType="text/javascript" pageEncoding="UTF-8">
    response.setContentType("text/javascript");
    jsonp = callback + "(" + jsonData + ")";
} else {
    // Equivalent to: <@page contentType="application/json" pageEncoding="UTF-8">
    response.setContentType("application/json");
    jsonp = jsonData;
}
%>

<%= jsonp %>